﻿namespace TomatoBreak.Infrastructure
{
    using RealFormsAuthentication = System.Web.Security.FormsAuthentication;

    public class FormsAuthentication : IFormsAuthentication
    {
        public void SignIn(string userName, bool persist)
        {
            RealFormsAuthentication.SetAuthCookie(userName, persist);
        }

        public void SignOut()
        {
            RealFormsAuthentication.SignOut();
        }
    }
}